package com.ruoyi.pos.domain.dto.device.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 设备调试日志响应DTO
 * 
 * @author ruoyi
 * @date 2025-01-30
 */
@Data
@ApiModel(description = "设备调试日志响应")
public class DeviceDebugLogResponse {

    @ApiModelProperty(value = "日志ID")
    private Long logId;

    @ApiModelProperty(value = "设备ID")
    private Long deviceId;

    @ApiModelProperty(value = "设备编码")
    private String deviceCode;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "日志级别", allowableValues = "INFO,WARN,ERROR,DEBUG")
    private String logLevel;

    @ApiModelProperty(value = "日志内容")
    private String logContent;

    @ApiModelProperty(value = "日志类型", allowableValues = "SYSTEM,COMMAND,RESPONSE,ERROR")
    private String logType;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "来源", allowableValues = "SERVER,DEVICE")
    private String source;

    @ApiModelProperty(value = "会话ID")
    private String sessionId;

    @ApiModelProperty(value = "备注")
    private String remark;
}
